//
//  MYXEmptyView.h
//  meiyinxiang
//
//  Created by 陈李飞 on 2017/11/9.
//  Copyright © 2017年 hbjApple. All rights reserved.
//

#import <UIKit/UIKit.h>


typedef void (^ButtonTapBlock)();


@interface MYXEmptyView : UIView
@property(nonatomic,strong)  UILabel *indicatorTextView;
// 控件垂直排列
- (id)initWithFrame:(CGRect)frame withImage:(UIImage *)image text:(NSString *)text ButtonText:(NSString *)buttonText buttonTapped:(ButtonTapBlock)buttonTapped;

// 控件水平排列
- (id)initWithFrame:(CGRect)frame withIndicator:(BOOL)withIndicator text:(NSString *)text ButtonText:(NSString *)buttonText buttonTapped:(ButtonTapBlock)buttonTapped withBackgroundColor:(UIColor *)color;
@end
